home *** CD-ROM | disk | FTP | other *** search
/ Apple WWDC 1996 / WWDC96_1996 (CD).toast / Technology Materials / MacOS 8 Resources / Developer Tools / Mac OS 8 Interfaces & Libraries / Interfaces / CIncludes / HIScrollingPanels.xh < prev    next >
Text File  |  1996-05-01  |  41KB  |  1,296 lines

  1.  
  2. /*
  3.  * This file was generated by the SOM Compiler.
  4.  * FileName: HIScrollingPanels.xh.
  5.  * Generated using:
  6.  *     SOM Precompiler somipc: 2.18
  7.  *     SOM Emitter emitxh.dll: 2.33
  8.  */
  9.  
  10. #ifndef SOM_HIScrollingPanel_xh
  11. #define SOM_HIScrollingPanel_xh
  12.  
  13. class HIScrollingPanel;
  14.  
  15. #define HIScrollingPanel_MajorVersion 0
  16. #define HIScrollingPanel_MinorVersion 0
  17.  
  18. /*
  19.  * Passthru lines: File: "C.xh", "before"
  20.  */
  21. #include <HIScrollingPanelTypes.h>
  22.  
  23. /* C++ SOM defs */
  24. #include <somcls.xh>
  25. #include <somcm.xh>
  26.  
  27. /* C++ parent defs */
  28. #ifndef SOM_HIPanel_xh
  29. #include <HIPanels.xh>
  30. #endif
  31.  
  32. #ifndef HIScrollingPanel_API
  33. #define HIScrollingPanel_API
  34. /*
  35.  * -- The Class API
  36.  */
  37.  
  38. /*
  39.  * Start of user-defined types:
  40.  */
  41. class SOMClass;
  42. class SOMObject;
  43. class HIWindow;
  44. class HIEmbeddingPanel;
  45. class HIMenu;
  46.  
  47. /*
  48.  * End of user-defined types.
  49.  */
  50.  
  51. #ifdef OLDIBMSOMAPISUPPORT
  52. #define HIScrollingPanelCClassData HIScrollingPanelClassData
  53. #define HIScrollingPanelNewClass(major,minor) somNewVersionedClassReference(HIScrollingPanel,major,minor)
  54. #endif
  55.  
  56. /* define xxxMetaClass macro to facilitate (cls ## MetaClass) */
  57. #define HIScrollingPanelMetaClass SOMClass
  58.  
  59. #if PRAGMA_ALIGN_SUPPORTED
  60. #  pragma options align=power
  61. #endif
  62.  
  63. /* The API to the HIScrollingPanel class object, and the methods it introduces. */
  64. SOMEXTERN struct HIScrollingPanelClassDataStructure {
  65. #ifdef OLDIBMSOMAPISUPPORT
  66.     SOMClass            *classObject;    /* always zero, use somNewClassReference instead */
  67. #else
  68.     long zero;
  69. #endif
  70.     somStaticClassInfo *sci;
  71.     somDToken        instanceDataToken;
  72.     long reserved [3];
  73.     somMToken InitScrollingPanel;
  74.     somMToken SetScrolledPanel;
  75.     somMToken GetScrolledPanel;
  76.     somMToken GetScrolledPanelBoundingRect;
  77.     somMToken SetVerticalScrollValue;
  78.     somMToken GetVerticalScrollValue;
  79.     somMToken SetHorizontalScrollValue;
  80.     somMToken GetHorizontalScrollValue;
  81.     somMToken SetVerticalScrollIncrement;
  82.     somMToken GetScrollBarElementSize;
  83.     somMToken GetVerticalScrollIncrement;
  84.     somMToken SetHorizontalScrollIncrement;
  85.     somMToken GetHorizontalScrollIncrement;
  86.     somMToken ShowVerticalScrollBar;
  87.     somMToken HideVerticalScrollBar;
  88.     somMToken IsVerticalScrollBarVisible;
  89.     somMToken ShowHorizontalScrollBar;
  90.     somMToken HideHorizontalScrollBar;
  91.     somMToken IsHorizontalScrollBarVisible;
  92. } SOMDLINK HIScrollingPanelClassData;
  93.  
  94. #if PRAGMA_ALIGN_SUPPORTED
  95. #  pragma options align=reset
  96. #endif
  97.  
  98. #if !defined(HIScrollingPanel_Class_Source) && !defined(SOM_Module_hiscrollingpanels_Source)
  99. #if PRAGMA_IMPORT_SUPPORTED
  100. #pragma import list HIScrollingPanelClassData
  101. #endif
  102. #endif
  103.  
  104.  
  105. /*
  106.  * -- Typedefs for HIScrollingPanel Method Procedures
  107.  */
  108. SOMEXTERN {
  109. typedef OSStatus   (* SOMLINK somTD_HIScrollingPanel_InitScrollingPanel)(HIScrollingPanel *somSelf, Environment *ev,
  110.         RefLabel* identifier,
  111.         HIWindow* window,
  112.         Rect* boundingRect,
  113.         HIPanel* scrolledPanel,
  114.         boolean visibleVerticalScrollBar,
  115.         boolean visibleHorizontalScrollBar,
  116.         boolean makeRoomForGrowBox);
  117. typedef void   (* SOMLINK somTD_HIScrollingPanel_SetScrolledPanel)(HIScrollingPanel *somSelf, Environment *ev,
  118.         HIPanel* scrolledPanel);
  119. typedef HIPanel*   (* SOMLINK somTD_HIScrollingPanel_GetScrolledPanel)(HIScrollingPanel *somSelf, Environment *ev);
  120. typedef void   (* SOMLINK somTD_HIScrollingPanel_GetScrolledPanelBoundingRect)(HIScrollingPanel *somSelf, Environment *ev,
  121.         Rect* scrolledPanelBoundingRect);
  122. typedef void   (* SOMLINK somTD_HIScrollingPanel_SetVerticalScrollValue)(HIScrollingPanel *somSelf, Environment *ev,
  123.         SInt32 verticalValue);
  124. typedef SInt32   (* SOMLINK somTD_HIScrollingPanel_GetVerticalScrollValue)(HIScrollingPanel *somSelf, Environment *ev);
  125. typedef void   (* SOMLINK somTD_HIScrollingPanel_SetHorizontalScrollValue)(HIScrollingPanel *somSelf, Environment *ev,
  126.         SInt32 horizontalValue);
  127. typedef SInt32   (* SOMLINK somTD_HIScrollingPanel_GetHorizontalScrollValue)(HIScrollingPanel *somSelf, Environment *ev);
  128. typedef void   (* SOMLINK somTD_HIScrollingPanel_SetVerticalScrollIncrement)(HIScrollingPanel *somSelf, Environment *ev,
  129.         UInt32 increment);
  130. typedef UInt32   (* SOMLINK somTD_HIScrollingPanel_GetVerticalScrollIncrement)(HIScrollingPanel *somSelf, Environment *ev);
  131. typedef void   (* SOMLINK somTD_HIScrollingPanel_SetHorizontalScrollIncrement)(HIScrollingPanel *somSelf, Environment *ev,
  132.         UInt32 increment);
  133. typedef UInt32   (* SOMLINK somTD_HIScrollingPanel_GetHorizontalScrollIncrement)(HIScrollingPanel *somSelf, Environment *ev);
  134. typedef void   (* SOMLINK somTD_HIScrollingPanel_ShowVerticalScrollBar)(HIScrollingPanel *somSelf, Environment *ev);
  135. typedef void   (* SOMLINK somTD_HIScrollingPanel_HideVerticalScrollBar)(HIScrollingPanel *somSelf, Environment *ev);
  136. typedef boolean   (* SOMLINK somTD_HIScrollingPanel_IsVerticalScrollBarVisible)(HIScrollingPanel *somSelf, Environment *ev);
  137. typedef void   (* SOMLINK somTD_HIScrollingPanel_ShowHorizontalScrollBar)(HIScrollingPanel *somSelf, Environment *ev);
  138. typedef void   (* SOMLINK somTD_HIScrollingPanel_HideHorizontalScrollBar)(HIScrollingPanel *somSelf, Environment *ev);
  139. typedef boolean   (* SOMLINK somTD_HIScrollingPanel_IsHorizontalScrollBarVisible)(HIScrollingPanel *somSelf, Environment *ev);
  140.  
  141. /*
  142.  * -- Typedefs for Inherited Methods
  143.  */
  144. typedef HIEmbeddingPanel*   (* SOMLINK somTD_HIScrollingPanel_GetEmbeddingParent)(HIScrollingPanel *somSelf, Environment *ev);
  145. typedef OSStatus   (* SOMLINK somTD_HIScrollingPanel_InitPanel)(HIScrollingPanel *somSelf, Environment *ev,
  146.         RefLabel* identifier,
  147.         HIWindow* window,
  148.         Rect* bounds);
  149. typedef OSStatus   (* SOMLINK somTD_HIScrollingPanel_RegisterInterestInAppleEvent)(HIScrollingPanel *somSelf, Environment *ev,
  150.         AEHandlerTableRef table,
  151.         AEEventClass eventClass,
  152.         AEEventID eventID,
  153.         HIEventRoutingType eventRouting);
  154. typedef boolean   (* SOMLINK somTD_HIScrollingPanel_HasValidContent)(HIScrollingPanel *somSelf, Environment *ev);
  155. typedef OSStatus   (* SOMLINK somTD_HIScrollingPanel_GetDeepCollectionItemData)(HIScrollingPanel *somSelf, Environment *ev,
  156.         CollectionTag tag,
  157.         SInt32 id,
  158.         ByteCount sizeAllowed,
  159.         ByteCount* sizeReturned,
  160.         void* itemData);
  161. typedef HIWindow*   (* SOMLINK somTD_HIScrollingPanel_GetWindow)(HIScrollingPanel *somSelf, Environment *ev);
  162. typedef CGrafPtr   (* SOMLINK somTD_HIScrollingPanel_GetPort)(HIScrollingPanel *somSelf, Environment *ev);
  163. typedef void   (* SOMLINK somTD_HIScrollingPanel_GetRefLabel)(HIScrollingPanel *somSelf, Environment *ev,
  164.         RefLabel* identifier);
  165. typedef Collection   (* SOMLINK somTD_HIScrollingPanel_GetCollection)(HIScrollingPanel *somSelf, Environment *ev);
  166. typedef OSStatus   (* SOMLINK somTD_HIScrollingPanel_Init)(HIScrollingPanel *somSelf, Environment *ev,
  167.         RefLabel* identifier,
  168.         Rect* boundingRect);
  169. typedef void   (* SOMLINK somTD_HIScrollingPanel_Terminate)(HIScrollingPanel *somSelf, Environment *ev);
  170. typedef HIObject*   (* SOMLINK somTD_HIScrollingPanel_Clone)(HIScrollingPanel *somSelf, Environment *ev);
  171. typedef void   (* SOMLINK somTD_HIScrollingPanel_Release)(HIScrollingPanel *somSelf, Environment *ev);
  172. typedef ItemCount   (* SOMLINK somTD_HIScrollingPanel_GetOwnerCount)(HIScrollingPanel *somSelf, Environment *ev);
  173. typedef OSStatus   (* SOMLINK somTD_HIScrollingPanel_InitFromAERecord)(HIScrollingPanel *somSelf, Environment *ev,
  174.         AESubDesc* baseInitializerData,
  175.         AESubDesc* initializerDataForClass,
  176.         HIAERecordDataFormat dataFormat);
  177. typedef OSStatus   (* SOMLINK somTD_HIScrollingPanel_WriteToAERecord)(HIScrollingPanel *somSelf, Environment *ev,
  178.         AERecord* dataForSubclass,
  179.         AERecord* objectData,
  180.         HIAERecordDataFormat dataFormat);
  181. typedef void   (* SOMLINK somTD_HIScrollingPanel_CalculateOptimalSize)(HIScrollingPanel *somSelf, Environment *ev,
  182.         SInt16* optimalWidth,
  183.         SInt16* optimalHeight);
  184. typedef void   (* SOMLINK somTD_HIScrollingPanel_GetBoundingRect)(HIScrollingPanel *somSelf, Environment *ev,
  185.         HICoordinateSystem coordinate,
  186.         Rect* boundingRect);
  187. typedef void   (* SOMLINK somTD_HIScrollingPanel_SetBoundingRect)(HIScrollingPanel *somSelf, Environment *ev,
  188.         HICoordinateSystem coordinate,
  189.         Rect* newBoundingRect);
  190. typedef void   (* SOMLINK somTD_HIScrollingPanel_SetPosition)(HIScrollingPanel *somSelf, Environment *ev,
  191.         HICoordinateSystem coordinate,
  192.         Point* newPosition);
  193. typedef void   (* SOMLINK somTD_HIScrollingPanel_SetSize)(HIScrollingPanel *somSelf, Environment *ev,
  194.         SInt16 width,
  195.         SInt16 height);
  196. typedef void   (* SOMLINK somTD_HIScrollingPanel_GetUpdateRect)(HIScrollingPanel *somSelf, Environment *ev,
  197.         HICoordinateSystem coordinate,
  198.         Rect* updateRect);
  199. typedef void   (* SOMLINK somTD_HIScrollingPanel_Enable)(HIScrollingPanel *somSelf, Environment *ev);
  200. typedef void   (* SOMLINK somTD_HIScrollingPanel_Disable)(HIScrollingPanel *somSelf, Environment *ev);
  201. typedef boolean   (* SOMLINK somTD_HIScrollingPanel_IsEnabled)(HIScrollingPanel *somSelf, Environment *ev);
  202. typedef void   (* SOMLINK somTD_HIScrollingPanel_Show)(HIScrollingPanel *somSelf, Environment *ev);
  203. typedef void   (* SOMLINK somTD_HIScrollingPanel_Hide)(HIScrollingPanel *somSelf, Environment *ev);
  204. typedef boolean   (* SOMLINK somTD_HIScrollingPanel_IsVisible)(HIScrollingPanel *somSelf, Environment *ev);
  205. typedef OSStatus   (* SOMLINK somTD_HIScrollingPanel_HandleAppleEvent)(HIScrollingPanel *somSelf, Environment *ev,
  206.         AEEventClass eventClass,
  207.         AEEventID eventID,
  208.         AppleEvent* theEvent,
  209.         AppleEvent* reply,
  210.         AEHandlerTableRef handlerTableRef);
  211. typedef OSStatus   (* SOMLINK somTD_HIScrollingPanel_HandleActivate)(HIScrollingPanel *somSelf, Environment *ev,
  212.         AppleEvent* theEvent,
  213.         AppleEvent* reply,
  214.         AEHandlerTableRef handlerTableRef);
  215. typedef OSStatus   (* SOMLINK somTD_HIScrollingPanel_HandleDeactivate)(HIScrollingPanel *somSelf, Environment *ev,
  216.         AppleEvent* theEvent,
  217.         AppleEvent* reply,
  218.         AEHandlerTableRef handlerTableRef);
  219. typedef OSStatus   (* SOMLINK somTD_HIScrollingPanel_HandleNavigation)(HIScrollingPanel *somSelf, Environment *ev,
  220.         SInt8 key,
  221.         SInt8 keyCode,
  222.         EventModifiers modifiers,
  223.         AppleEvent* theEvent,
  224.         AppleEvent* reply,
  225.         AEHandlerTableRef handlerTableRef);
  226. typedef OSStatus   (* SOMLINK somTD_HIScrollingPanel_HandleMouseDownInContent)(HIScrollingPanel *somSelf, Environment *ev,
  227.         Point* portLocalWhere,
  228.         EventModifiers modifiers,
  229.         AppleEvent* theEvent,
  230.         AppleEvent* reply,
  231.         AEHandlerTableRef handlerTableRef);
  232. typedef OSStatus   (* SOMLINK somTD_HIScrollingPanel_HandleMouseMovedInContent)(HIScrollingPanel *somSelf, Environment *ev,
  233.         Point* portLocalWhere,
  234.         EventModifiers modifiers,
  235.         AppleEvent* theEvent,
  236.         AppleEvent* reply,
  237.         AEHandlerTableRef handlerTableRef);
  238. typedef OSStatus   (* SOMLINK somTD_HIScrollingPanel_HandleMouseStoppedMovingInContent)(HIScrollingPanel *somSelf, Environment *ev,
  239.         Point* portLocalWhere,
  240.         EventModifiers modifiers,
  241.         AppleEvent* theEvent,
  242.         AppleEvent* reply,
  243.         AEHandlerTableRef handlerTableRef);
  244. typedef OSStatus   (* SOMLINK somTD_HIScrollingPanel_HandleMouseUpInContent)(HIScrollingPanel *somSelf, Environment *ev,
  245.         Point* portLocalWhere,
  246.         EventModifiers modifiers,
  247.         AppleEvent* theEvent,
  248.         AppleEvent* reply,
  249.         AEHandlerTableRef handlerTableRef);
  250. typedef void   (* SOMLINK somTD_HIScrollingPanel_TakeUserInputFocus)(HIScrollingPanel *somSelf, Environment *ev);
  251. typedef void   (* SOMLINK somTD_HIScrollingPanel_ReleaseUserInputFocus)(HIScrollingPanel *somSelf, Environment *ev);
  252. typedef boolean   (* SOMLINK somTD_HIScrollingPanel_HasUserInputFocus)(HIScrollingPanel *somSelf, Environment *ev);
  253. typedef boolean   (* SOMLINK somTD_HIScrollingPanel_CanReleaseUserInputFocus)(HIScrollingPanel *somSelf, Environment *ev);
  254. typedef void   (* SOMLINK somTD_HIScrollingPanel_SetUserInputFocusFlags)(HIScrollingPanel *somSelf, Environment *ev,
  255.         HIUserInputFocusFlags flags);
  256. typedef HIUserInputFocusFlags   (* SOMLINK somTD_HIScrollingPanel_GetUserInputFocusFlags)(HIScrollingPanel *somSelf, Environment *ev);
  257. typedef OSStatus   (* SOMLINK somTD_HIScrollingPanel_SetTitle)(HIScrollingPanel *somSelf, Environment *ev,
  258.         ConstHIImageRef title,
  259.         HIAdoptionFlags disposalAdoptionFlags);
  260. typedef OSStatus   (* SOMLINK somTD_HIScrollingPanel_GetTitle)(HIScrollingPanel *somSelf, Environment *ev,
  261.         HIImageRef* title);
  262. typedef void   (* SOMLINK somTD_HIScrollingPanel_Draw)(HIScrollingPanel *somSelf, Environment *ev,
  263.         CGrafPtr whichPort,
  264.         RgnHandle drawRgn);
  265. typedef void   (* SOMLINK somTD_HIScrollingPanel_Erase)(HIScrollingPanel *somSelf, Environment *ev,
  266.         CGrafPtr whichPort,
  267.         RgnHandle eraseRgn);
  268. typedef void   (* SOMLINK somTD_HIScrollingPanel_Invalidate)(HIScrollingPanel *somSelf, Environment *ev);
  269. typedef HIDrawingMode   (* SOMLINK somTD_HIScrollingPanel_GetDrawingMode)(HIScrollingPanel *somSelf, Environment *ev);
  270. typedef void   (* SOMLINK somTD_HIScrollingPanel_SetDrawingMode)(HIScrollingPanel *somSelf, Environment *ev,
  271.         HIDrawingMode drawingMode);
  272. typedef void   (* SOMLINK somTD_HIScrollingPanel_SetBackgroundPattern)(HIScrollingPanel *somSelf, Environment *ev,
  273.         PixPatHandle backgroundPattern);
  274. typedef PixPatHandle   (* SOMLINK somTD_HIScrollingPanel_GetBackgroundPattern)(HIScrollingPanel *somSelf, Environment *ev);
  275. typedef void   (* SOMLINK somTD_HIScrollingPanel_Cut)(HIScrollingPanel *somSelf, Environment *ev);
  276. typedef void   (* SOMLINK somTD_HIScrollingPanel_Copy)(HIScrollingPanel *somSelf, Environment *ev);
  277. typedef void   (* SOMLINK somTD_HIScrollingPanel_Paste)(HIScrollingPanel *somSelf, Environment *ev);
  278. typedef void   (* SOMLINK somTD_HIScrollingPanel_Clear)(HIScrollingPanel *somSelf, Environment *ev);
  279. typedef HIClipboardSupportFlags   (* SOMLINK somTD_HIScrollingPanel_GetClipboardSupportFlags)(HIScrollingPanel *somSelf, Environment *ev);
  280. typedef OSStatus   (* SOMLINK somTD_HIScrollingPanel_AddStateChangeCallback)(HIScrollingPanel *somSelf, Environment *ev,
  281.         HIStateChangeCallbackProcPtr changedStateCallback,
  282.         HIStateChangeCallbackRef* newCallbackRef);
  283. typedef OSStatus   (* SOMLINK somTD_HIScrollingPanel_RemoveStateChangeCallback)(HIScrollingPanel *somSelf, Environment *ev,
  284.         HIStateChangeCallbackRef callbackRefToRemove);
  285. typedef OSStatus   (* SOMLINK somTD_HIScrollingPanel_GetHIObjectFromRefLabel)(Environment *ev,
  286.         RefLabel* identifier,
  287.         ItemCount requestedObjects,
  288.         ItemCount* totalObjects,
  289.         HIObject** theObjects);
  290. typedef OSStatus   (* SOMLINK somTD_HIScrollingPanel_GetNewHIObject)(Environment *ev,
  291.         AESubDesc* objectInitializer,
  292.         HIObject** newObject);
  293. typedef OSStatus   (* SOMLINK somTD_HIScrollingPanel_GetNewHIObjectFromResource)(Environment *ev,
  294.         ResID objectInitializerResourceID,
  295.         HIObject** newObject);
  296. typedef void   (* SOMLINK somTD_HIScrollingPanel_DrawContent)(HIScrollingPanel *somSelf, Environment *ev,
  297.         CGrafPtr whichPort,
  298.         RgnHandle drawRgn);
  299. typedef void   (* SOMLINK somTD_HIScrollingPanel_EraseContent)(HIScrollingPanel *somSelf, Environment *ev,
  300.         CGrafPtr whichPort,
  301.         RgnHandle regionToErase);
  302. typedef void   (* SOMLINK somTD_HIScrollingPanel_TranslatePoint)(HIScrollingPanel *somSelf, Environment *ev,
  303.         HICoordinateSystem translateFrom,
  304.         HICoordinateSystem translateTo,
  305.         Point* sourcePoint,
  306.         Point* translatedPoint);
  307. typedef void   (* SOMLINK somTD_HIScrollingPanel_TranslateRect)(HIScrollingPanel *somSelf, Environment *ev,
  308.         HICoordinateSystem translateFrom,
  309.         HICoordinateSystem translateTo,
  310.         Rect* sourceRect,
  311.         Rect* translatedRect);
  312. typedef void   (* SOMLINK somTD_HIScrollingPanel_StateChanged)(HIScrollingPanel *somSelf, Environment *ev,
  313.         HIStateChangeCodeCreator selectorCreator,
  314.         HIStateChangeCode changedCode);
  315. typedef void   (* SOMLINK somTD_HIScrollingPanel_SetClipboardSupportFlags)(HIScrollingPanel *somSelf, Environment *ev,
  316.         HIClipboardSupportFlags flags);
  317. typedef OSStatus   (* SOMLINK somTD_HIScrollingPanel_Verify)(HIScrollingPanel *somSelf, Environment *ev);
  318. typedef void   (* SOMLINK somTD_HIScrollingPanel_somInit)(HIScrollingPanel *somSelf);
  319. typedef void   (* SOMLINK somTD_HIScrollingPanel_somUninit)(HIScrollingPanel *somSelf);
  320. typedef SOMObject*   (* SOMLINK somTD_HIScrollingPanel_somDuplicateReference)(HIScrollingPanel *somSelf);
  321. typedef boolean   (* SOMLINK somTD_HIScrollingPanel_somCompareReference)(HIScrollingPanel *somSelf,
  322.         SOMObject* anObject);
  323. typedef SOMObject*   (* SOMLINK somTD_HIScrollingPanel_somRelease)(HIScrollingPanel *somSelf);
  324. typedef void   (* SOMLINK somTD_HIScrollingPanel_somFree)(HIScrollingPanel *somSelf);
  325. typedef boolean   (* SOMLINK somTD_HIScrollingPanel_somCanDelete)(HIScrollingPanel *somSelf);
  326. typedef SOMClass*   (* SOMLINK somTD_HIScrollingPanel_somGetClass)(HIScrollingPanel *somSelf);
  327. typedef corbastring   (* SOMLINK somTD_HIScrollingPanel_somGetClassName)(HIScrollingPanel *somSelf);
  328. typedef long   (* SOMLINK somTD_HIScrollingPanel_somGetSize)(HIScrollingPanel *somSelf);
  329. typedef boolean   (* SOMLINK somTD_HIScrollingPanel_somIsA)(HIScrollingPanel *somSelf,
  330.         SOMClass* aClassObj);
  331. typedef boolean   (* SOMLINK somTD_HIScrollingPanel_somRespondsTo)(HIScrollingPanel *somSelf,
  332.         somId mId);
  333. typedef boolean   (* SOMLINK somTD_HIScrollingPanel_somIsInstanceOf)(HIScrollingPanel *somSelf,
  334.         SOMClass* aClassObj);
  335. typedef boolean   (* SOMLINK somTD_HIScrollingPanel_somDispatch)(HIScrollingPanel *somSelf,
  336.         somToken* retValue,
  337.         somId methodId,
  338.         va_list ap);
  339. typedef boolean   (* SOMLINK somTD_HIScrollingPanel_somClassDispatch)(HIScrollingPanel *somSelf,
  340.         SOMClass* clsObj,
  341.         somToken* retValue,
  342.         somId methodId,
  343.         va_list ap);
  344. typedef boolean   (* SOMLINK somTD_HIScrollingPanel_somCastObj)(HIScrollingPanel *somSelf,
  345.         SOMClass* cls);
  346. typedef boolean   (* SOMLINK somTD_HIScrollingPanel_somResetObj)(HIScrollingPanel *somSelf);
  347. typedef SOMObject*   (* SOMLINK somTD_HIScrollingPanel_somPrintSelf)(HIScrollingPanel *somSelf);
  348. typedef void   (* SOMLINK somTD_HIScrollingPanel_somDumpSelf)(HIScrollingPanel *somSelf,
  349.         long level);
  350. typedef void   (* SOMLINK somTD_HIScrollingPanel_somDumpSelfInt)(HIScrollingPanel *somSelf,
  351.         long level);
  352. }
  353.  
  354. #endif /* HIScrollingPanel_API */
  355.  
  356.  
  357. /*
  358.  * -- This emitter treats Method Tokens as Thunks by default.
  359.  * -- Use the sc modifier "nothunks" to change this default
  360.  */
  361. #undef somresolve_
  362. #define somresolve_(obj,mToken) ((somMethodProc*)((void)obj, mToken))
  363.  
  364. /*
  365.  * -- The C++ Wrapper Class for HIScrollingPanel
  366.  */
  367. class HIScrollingPanel : public HIPanel
  368. {
  369. public:
  370.  
  371. // HIScrollingPanel::new registers use of the class object, and then uses somNew
  372. // to allocate memory and load the object method table pointer. 
  373. void *operator new(size_t size)
  374. {
  375.     SOM_IgnoreWarning(size);
  376.     // Allocate memory using the default allocator for HIScrollingPanel, and
  377.     // clear mem & set method table pointer, call basic initialization
  378.     return (void*) somNewObject(HIScrollingPanel);
  379. }
  380.  
  381. // HIScrollingPanel::delete uses the default deallocator for the object's class.
  382. void operator delete(void * obj)
  383. {
  384.     if (obj) {
  385.         SOM_Resolve(obj,SOMObject,somFree)
  386.            ( (SOMObject*) obj );
  387.     }
  388. }
  389.  
  390. /* method: InitScrollingPanel */
  391. OSStatus   InitScrollingPanel(Environment *ev,
  392.         RefLabel* identifier,
  393.         HIWindow* window,
  394.         Rect* boundingRect,
  395.         HIPanel* scrolledPanel,
  396.         boolean visibleVerticalScrollBar,
  397.         boolean visibleHorizontalScrollBar,
  398.         boolean makeRoomForGrowBox)
  399. {
  400.    return SOM_ResolveD(this,HIScrollingPanel,HIScrollingPanel,InitScrollingPanel)
  401.     (this,ev,identifier,window,boundingRect,scrolledPanel,visibleVerticalScrollBar,visibleHorizontalScrollBar,makeRoomForGrowBox);
  402. }
  403.  
  404. /* method: SetScrolledPanel */
  405. void   SetScrolledPanel(Environment *ev,
  406.         HIPanel* scrolledPanel)
  407. {
  408.    SOM_ResolveD(this,HIScrollingPanel,HIScrollingPanel,SetScrolledPanel)
  409.     (this,ev,scrolledPanel);
  410. }
  411.  
  412. /* method: GetScrolledPanel */
  413. HIPanel*   GetScrolledPanel(Environment *ev)
  414. {
  415.    return SOM_ResolveD(this,HIScrollingPanel,HIScrollingPanel,GetScrolledPanel)
  416.     (this,ev);
  417. }
  418.  
  419. /* method: GetScrolledPanelBoundingRect */
  420. void   GetScrolledPanelBoundingRect(Environment *ev,
  421.         Rect* scrolledPanelBoundingRect)
  422. {
  423.    SOM_ResolveD(this,HIScrollingPanel,HIScrollingPanel,GetScrolledPanelBoundingRect)
  424.     (this,ev,scrolledPanelBoundingRect);
  425. }
  426.  
  427. /* method: SetVerticalScrollValue */
  428. void   SetVerticalScrollValue(Environment *ev,
  429.         SInt32 verticalValue)
  430. {
  431.    SOM_ResolveD(this,HIScrollingPanel,HIScrollingPanel,SetVerticalScrollValue)
  432.     (this,ev,verticalValue);
  433. }
  434.  
  435. /* method: GetVerticalScrollValue */
  436. SInt32   GetVerticalScrollValue(Environment *ev)
  437. {
  438.    return SOM_ResolveD(this,HIScrollingPanel,HIScrollingPanel,GetVerticalScrollValue)
  439.     (this,ev);
  440. }
  441.  
  442. /* method: SetHorizontalScrollValue */
  443. void   SetHorizontalScrollValue(Environment *ev,
  444.         SInt32 horizontalValue)
  445. {
  446.    SOM_ResolveD(this,HIScrollingPanel,HIScrollingPanel,SetHorizontalScrollValue)
  447.     (this,ev,horizontalValue);
  448. }
  449.  
  450. /* method: GetHorizontalScrollValue */
  451. SInt32   GetHorizontalScrollValue(Environment *ev)
  452. {
  453.    return SOM_ResolveD(this,HIScrollingPanel,HIScrollingPanel,GetHorizontalScrollValue)
  454.     (this,ev);
  455. }
  456.  
  457. /* method: SetVerticalScrollIncrement */
  458. void   SetVerticalScrollIncrement(Environment *ev,
  459.         UInt32 increment)
  460. {
  461.    SOM_ResolveD(this,HIScrollingPanel,HIScrollingPanel,SetVerticalScrollIncrement)
  462.     (this,ev,increment);
  463. }
  464.  
  465. /* method: GetVerticalScrollIncrement */
  466. UInt32   GetVerticalScrollIncrement(Environment *ev)
  467. {
  468.    return SOM_ResolveD(this,HIScrollingPanel,HIScrollingPanel,GetVerticalScrollIncrement)
  469.     (this,ev);
  470. }
  471.  
  472. /* method: SetHorizontalScrollIncrement */
  473. void   SetHorizontalScrollIncrement(Environment *ev,
  474.         UInt32 increment)
  475. {
  476.    SOM_ResolveD(this,HIScrollingPanel,HIScrollingPanel,SetHorizontalScrollIncrement)
  477.     (this,ev,increment);
  478. }
  479.  
  480. /* method: GetHorizontalScrollIncrement */
  481. UInt32   GetHorizontalScrollIncrement(Environment *ev)
  482. {
  483.    return SOM_ResolveD(this,HIScrollingPanel,HIScrollingPanel,GetHorizontalScrollIncrement)
  484.     (this,ev);
  485. }
  486.  
  487. /* method: ShowVerticalScrollBar */
  488. void   ShowVerticalScrollBar(Environment *ev)
  489. {
  490.    SOM_ResolveD(this,HIScrollingPanel,HIScrollingPanel,ShowVerticalScrollBar)
  491.     (this,ev);
  492. }
  493.  
  494. /* method: HideVerticalScrollBar */
  495. void   HideVerticalScrollBar(Environment *ev)
  496. {
  497.    SOM_ResolveD(this,HIScrollingPanel,HIScrollingPanel,HideVerticalScrollBar)
  498.     (this,ev);
  499. }
  500.  
  501. /* method: IsVerticalScrollBarVisible */
  502. boolean   IsVerticalScrollBarVisible(Environment *ev)
  503. {
  504.    return SOM_ResolveD(this,HIScrollingPanel,HIScrollingPanel,IsVerticalScrollBarVisible)
  505.     (this,ev);
  506. }
  507.  
  508. /* method: ShowHorizontalScrollBar */
  509. void   ShowHorizontalScrollBar(Environment *ev)
  510. {
  511.    SOM_ResolveD(this,HIScrollingPanel,HIScrollingPanel,ShowHorizontalScrollBar)
  512.     (this,ev);
  513. }
  514.  
  515. /* method: HideHorizontalScrollBar */
  516. void   HideHorizontalScrollBar(Environment *ev)
  517. {
  518.    SOM_ResolveD(this,HIScrollingPanel,HIScrollingPanel,HideHorizontalScrollBar)
  519.     (this,ev);
  520. }
  521.  
  522. /* method: IsHorizontalScrollBarVisible */
  523. boolean   IsHorizontalScrollBarVisible(Environment *ev)
  524. {
  525.    return SOM_ResolveD(this,HIScrollingPanel,HIScrollingPanel,IsHorizontalScrollBarVisible)
  526.     (this,ev);
  527. }
  528.  
  529.  
  530. /*
  531.  * -- Inherited methods
  532.  */
  533. /* method: GetEmbeddingParent */
  534. HIEmbeddingPanel*   GetEmbeddingParent(Environment *ev)
  535. {
  536.    return SOM_ResolveD(this,HIScrollingPanel,HIPanel,GetEmbeddingParent)
  537.     (this,ev);
  538. }
  539.  
  540. /* method: InitPanel */
  541. OSStatus   InitPanel(Environment *ev,
  542.         RefLabel* identifier,
  543.         HIWindow* window,
  544.         Rect* bounds)
  545. {
  546.    return SOM_ResolveD(this,HIScrollingPanel,HIPanel,InitPanel)
  547.     (this,ev,identifier,window,bounds);
  548. }
  549.  
  550. /* method: RegisterInterestInAppleEvent */
  551. OSStatus   RegisterInterestInAppleEvent(Environment *ev,
  552.         AEHandlerTableRef table,
  553.         AEEventClass eventClass,
  554.         AEEventID eventID,
  555.         HIEventRoutingType eventRouting)
  556. {
  557.    return SOM_ResolveD(this,HIScrollingPanel,HIPanel,RegisterInterestInAppleEvent)
  558.     (this,ev,table,eventClass,eventID,eventRouting);
  559. }
  560.  
  561. /* method: HasValidContent */
  562. boolean   HasValidContent(Environment *ev)
  563. {
  564.    return SOM_ResolveD(this,HIScrollingPanel,HIPanel,HasValidContent)
  565.     (this,ev);
  566. }
  567.  
  568. /* method: GetDeepCollectionItemData */
  569. OSStatus   GetDeepCollectionItemData(Environment *ev,
  570.         CollectionTag tag,
  571.         SInt32 id,
  572.         ByteCount sizeAllowed,
  573.         ByteCount* sizeReturned,
  574.         void* itemData)
  575. {
  576.    return SOM_ResolveD(this,HIScrollingPanel,HIPanel,GetDeepCollectionItemData)
  577.     (this,ev,tag,id,sizeAllowed,sizeReturned,itemData);
  578. }
  579.  
  580. /* method: GetWindow */
  581. HIWindow*   GetWindow(Environment *ev)
  582. {
  583.    return SOM_ResolveD(this,HIScrollingPanel,HIObject,GetWindow)
  584.     (this,ev);
  585. }
  586.  
  587. /* method: GetPort */
  588. CGrafPtr   GetPort(Environment *ev)
  589. {
  590.    return SOM_ResolveD(this,HIScrollingPanel,HIObject,GetPort)
  591.     (this,ev);
  592. }
  593.  
  594. /* method: GetRefLabel */
  595. void   GetRefLabel(Environment *ev,
  596.         RefLabel* identifier)
  597. {
  598.    SOM_ResolveD(this,HIScrollingPanel,HIObject,GetRefLabel)
  599.     (this,ev,identifier);
  600. }
  601.  
  602. /* method: GetCollection */
  603. Collection   GetCollection(Environment *ev)
  604. {
  605.    return SOM_ResolveD(this,HIScrollingPanel,HIObject,GetCollection)
  606.     (this,ev);
  607. }
  608.  
  609. /* method: Init */
  610. OSStatus   Init(Environment *ev,
  611.         RefLabel* identifier,
  612.         Rect* boundingRect)
  613. {
  614.    return SOM_ResolveD(this,HIScrollingPanel,HIObject,Init)
  615.     (this,ev,identifier,boundingRect);
  616. }
  617.  
  618. /* method: Terminate */
  619. void   Terminate(Environment *ev)
  620. {
  621.    SOM_ResolveD(this,HIScrollingPanel,HIObject,Terminate)
  622.     (this,ev);
  623. }
  624.  
  625. /* method: Clone */
  626. HIObject*   Clone(Environment *ev)
  627. {
  628.    return SOM_ResolveD(this,HIScrollingPanel,HIObject,Clone)
  629.     (this,ev);
  630. }
  631.  
  632. /* method: Release */
  633. void   Release(Environment *ev)
  634. {
  635.    SOM_ResolveD(this,HIScrollingPanel,HIObject,Release)
  636.     (this,ev);
  637. }
  638.  
  639. /* method: GetOwnerCount */
  640. ItemCount   GetOwnerCount(Environment *ev)
  641. {
  642.    return SOM_ResolveD(this,HIScrollingPanel,HIObject,GetOwnerCount)
  643.     (this,ev);
  644. }
  645.  
  646. /* method: InitFromAERecord */
  647. OSStatus   InitFromAERecord(Environment *ev,
  648.         AESubDesc* baseInitializerData,
  649.         AESubDesc* initializerDataForClass,
  650.         HIAERecordDataFormat dataFormat)
  651. {
  652.    return SOM_ResolveD(this,HIScrollingPanel,HIObject,InitFromAERecord)
  653.     (this,ev,baseInitializerData,initializerDataForClass,dataFormat);
  654. }
  655.  
  656. /* method: WriteToAERecord */
  657. OSStatus   WriteToAERecord(Environment *ev,
  658.         AERecord* dataForSubclass,
  659.         AERecord* objectData,
  660.         HIAERecordDataFormat dataFormat)
  661. {
  662.    return SOM_ResolveD(this,HIScrollingPanel,HIObject,WriteToAERecord)
  663.     (this,ev,dataForSubclass,objectData,dataFormat);
  664. }
  665.  
  666. /* method: CalculateOptimalSize */
  667. void   CalculateOptimalSize(Environment *ev,
  668.         SInt16* optimalWidth,
  669.         SInt16* optimalHeight)
  670. {
  671.    SOM_ResolveD(this,HIScrollingPanel,HIObject,CalculateOptimalSize)
  672.     (this,ev,optimalWidth,optimalHeight);
  673. }
  674.  
  675. /* method: GetBoundingRect */
  676. void   GetBoundingRect(Environment *ev,
  677.         HICoordinateSystem coordinate,
  678.         Rect* boundingRect)
  679. {
  680.    SOM_ResolveD(this,HIScrollingPanel,HIObject,GetBoundingRect)
  681.     (this,ev,coordinate,boundingRect);
  682. }
  683.  
  684. /* method: SetBoundingRect */
  685. void   SetBoundingRect(Environment *ev,
  686.         HICoordinateSystem coordinate,
  687.         Rect* newBoundingRect)
  688. {
  689.    SOM_ResolveD(this,HIScrollingPanel,HIObject,SetBoundingRect)
  690.     (this,ev,coordinate,newBoundingRect);
  691. }
  692.  
  693. /* method: SetPosition */
  694. void   SetPosition(Environment *ev,
  695.         HICoordinateSystem coordinate,
  696.         Point* newPosition)
  697. {
  698.    SOM_ResolveD(this,HIScrollingPanel,HIObject,SetPosition)
  699.     (this,ev,coordinate,newPosition);
  700. }
  701.  
  702. /* method: SetSize */
  703. void   SetSize(Environment *ev,
  704.         SInt16 width,
  705.         SInt16 height)
  706. {
  707.    SOM_ResolveD(this,HIScrollingPanel,HIObject,SetSize)
  708.     (this,ev,width,height);
  709. }
  710.  
  711. /* method: GetUpdateRect */
  712. void   GetUpdateRect(Environment *ev,
  713.         HICoordinateSystem coordinate,
  714.         Rect* updateRect)
  715. {
  716.    SOM_ResolveD(this,HIScrollingPanel,HIObject,GetUpdateRect)
  717.     (this,ev,coordinate,updateRect);
  718. }
  719.  
  720. /* method: Enable */
  721. void   Enable(Environment *ev)
  722. {
  723.    SOM_ResolveD(this,HIScrollingPanel,HIObject,Enable)
  724.     (this,ev);
  725. }
  726.  
  727. /* method: Disable */
  728. void   Disable(Environment *ev)
  729. {
  730.    SOM_ResolveD(this,HIScrollingPanel,HIObject,Disable)
  731.     (this,ev);
  732. }
  733.  
  734. /* method: IsEnabled */
  735. boolean   IsEnabled(Environment *ev)
  736. {
  737.    return SOM_ResolveD(this,HIScrollingPanel,HIObject,IsEnabled)
  738.     (this,ev);
  739. }
  740.  
  741. /* method: Show */
  742. void   Show(Environment *ev)
  743. {
  744.    SOM_ResolveD(this,HIScrollingPanel,HIObject,Show)
  745.     (this,ev);
  746. }
  747.  
  748. /* method: Hide */
  749. void   Hide(Environment *ev)
  750. {
  751.    SOM_ResolveD(this,HIScrollingPanel,HIObject,Hide)
  752.     (this,ev);
  753. }
  754.  
  755. /* method: IsVisible */
  756. boolean   IsVisible(Environment *ev)
  757. {
  758.    return SOM_ResolveD(this,HIScrollingPanel,HIObject,IsVisible)
  759.     (this,ev);
  760. }
  761.  
  762. /* method: HandleAppleEvent */
  763. OSStatus   HandleAppleEvent(Environment *ev,
  764.         AEEventClass eventClass,
  765.         AEEventID eventID,
  766.         AppleEvent* theEvent,
  767.         AppleEvent* reply,
  768.         AEHandlerTableRef handlerTableRef)
  769. {
  770.    return SOM_ResolveD(this,HIScrollingPanel,HIObject,HandleAppleEvent)
  771.     (this,ev,eventClass,eventID,theEvent,reply,handlerTableRef);
  772. }
  773.  
  774. /* method: HandleActivate */
  775. OSStatus   HandleActivate(Environment *ev,
  776.         AppleEvent* theEvent,
  777.         AppleEvent* reply,
  778.         AEHandlerTableRef handlerTableRef)
  779. {
  780.    return SOM_ResolveD(this,HIScrollingPanel,HIObject,HandleActivate)
  781.     (this,ev,theEvent,reply,handlerTableRef);
  782. }
  783.  
  784. /* method: HandleDeactivate */
  785. OSStatus   HandleDeactivate(Environment *ev,
  786.         AppleEvent* theEvent,
  787.         AppleEvent* reply,
  788.         AEHandlerTableRef handlerTableRef)
  789. {
  790.    return SOM_ResolveD(this,HIScrollingPanel,HIObject,HandleDeactivate)
  791.     (this,ev,theEvent,reply,handlerTableRef);
  792. }
  793.  
  794. /* method: HandleNavigation */
  795. OSStatus   HandleNavigation(Environment *ev,
  796.         SInt8 key,
  797.         SInt8 keyCode,
  798.         EventModifiers modifiers,
  799.         AppleEvent* theEvent,
  800.         AppleEvent* reply,
  801.         AEHandlerTableRef handlerTableRef)
  802. {
  803.    return SOM_ResolveD(this,HIScrollingPanel,HIObject,HandleNavigation)
  804.     (this,ev,key,keyCode,modifiers,theEvent,reply,handlerTableRef);
  805. }
  806.  
  807. /* method: HandleMouseDownInContent */
  808. OSStatus   HandleMouseDownInContent(Environment *ev,
  809.         Point* portLocalWhere,
  810.         EventModifiers modifiers,
  811.         AppleEvent* theEvent,
  812.         AppleEvent* reply,
  813.         AEHandlerTableRef handlerTableRef)
  814. {
  815.    return SOM_ResolveD(this,HIScrollingPanel,HIObject,HandleMouseDownInContent)
  816.     (this,ev,portLocalWhere,modifiers,theEvent,reply,handlerTableRef);
  817. }
  818.  
  819. /* method: HandleMouseMovedInContent */
  820. OSStatus   HandleMouseMovedInContent(Environment *ev,
  821.         Point* portLocalWhere,
  822.         EventModifiers modifiers,
  823.         AppleEvent* theEvent,
  824.         AppleEvent* reply,
  825.         AEHandlerTableRef handlerTableRef)
  826. {
  827.    return SOM_ResolveD(this,HIScrollingPanel,HIObject,HandleMouseMovedInContent)
  828.     (this,ev,portLocalWhere,modifiers,theEvent,reply,handlerTableRef);
  829. }
  830.  
  831. /* method: HandleMouseStoppedMovingInContent */
  832. OSStatus   HandleMouseStoppedMovingInContent(Environment *ev,
  833.         Point* portLocalWhere,
  834.         EventModifiers modifiers,
  835.         AppleEvent* theEvent,
  836.         AppleEvent* reply,
  837.         AEHandlerTableRef handlerTableRef)
  838. {
  839.    return SOM_ResolveD(this,HIScrollingPanel,HIObject,HandleMouseStoppedMovingInContent)
  840.     (this,ev,portLocalWhere,modifiers,theEvent,reply,handlerTableRef);
  841. }
  842.  
  843. /* method: HandleMouseUpInContent */
  844. OSStatus   HandleMouseUpInContent(Environment *ev,
  845.         Point* portLocalWhere,
  846.         EventModifiers modifiers,
  847.         AppleEvent* theEvent,
  848.         AppleEvent* reply,
  849.         AEHandlerTableRef handlerTableRef)
  850. {
  851.    return SOM_ResolveD(this,HIScrollingPanel,HIObject,HandleMouseUpInContent)
  852.     (this,ev,portLocalWhere,modifiers,theEvent,reply,handlerTableRef);
  853. }
  854.  
  855. /* method: TakeUserInputFocus */
  856. void   TakeUserInputFocus(Environment *ev)
  857. {
  858.    SOM_ResolveD(this,HIScrollingPanel,HIObject,TakeUserInputFocus)
  859.     (this,ev);
  860. }
  861.  
  862. /* method: ReleaseUserInputFocus */
  863. void   ReleaseUserInputFocus(Environment *ev)
  864. {
  865.    SOM_ResolveD(this,HIScrollingPanel,HIObject,ReleaseUserInputFocus)
  866.     (this,ev);
  867. }
  868.  
  869. /* method: HasUserInputFocus */
  870. boolean   HasUserInputFocus(Environment *ev)
  871. {
  872.    return SOM_ResolveD(this,HIScrollingPanel,HIObject,HasUserInputFocus)
  873.     (this,ev);
  874. }
  875.  
  876. /* method: CanReleaseUserInputFocus */
  877. boolean   CanReleaseUserInputFocus(Environment *ev)
  878. {
  879.    return SOM_ResolveD(this,HIScrollingPanel,HIObject,CanReleaseUserInputFocus)
  880.     (this,ev);
  881. }
  882.  
  883. /* method: SetUserInputFocusFlags */
  884. void   SetUserInputFocusFlags(Environment *ev,
  885.         HIUserInputFocusFlags flags)
  886. {
  887.    SOM_ResolveD(this,HIScrollingPanel,HIObject,SetUserInputFocusFlags)
  888.     (this,ev,flags);
  889. }
  890.  
  891. /* method: GetUserInputFocusFlags */
  892. HIUserInputFocusFlags   GetUserInputFocusFlags(Environment *ev)
  893. {
  894.    return SOM_ResolveD(this,HIScrollingPanel,HIObject,GetUserInputFocusFlags)
  895.     (this,ev);
  896. }
  897.  
  898. /* method: SetTitle */
  899. OSStatus   SetTitle(Environment *ev,
  900.         ConstHIImageRef title,
  901.         HIAdoptionFlags disposalAdoptionFlags)
  902. {
  903.    return SOM_ResolveD(this,HIScrollingPanel,HIObject,SetTitle)
  904.     (this,ev,title,disposalAdoptionFlags);
  905. }
  906.  
  907. /* method: GetTitle */
  908. OSStatus   GetTitle(Environment *ev,
  909.         HIImageRef* title)
  910. {
  911.    return SOM_ResolveD(this,HIScrollingPanel,HIObject,GetTitle)
  912.     (this,ev,title);
  913. }
  914.  
  915. /* method: Draw */
  916. void   Draw(Environment *ev,
  917.         CGrafPtr whichPort,
  918.         RgnHandle drawRgn)
  919. {
  920.    SOM_ResolveD(this,HIScrollingPanel,HIObject,Draw)
  921.     (this,ev,whichPort,drawRgn);
  922. }
  923.  
  924. /* method: Erase */
  925. void   Erase(Environment *ev,
  926.         CGrafPtr whichPort,
  927.         RgnHandle eraseRgn)
  928. {
  929.    SOM_ResolveD(this,HIScrollingPanel,HIObject,Erase)
  930.     (this,ev,whichPort,eraseRgn);
  931. }
  932.  
  933. /* method: Invalidate */
  934. void   Invalidate(Environment *ev)
  935. {
  936.    SOM_ResolveD(this,HIScrollingPanel,HIObject,Invalidate)
  937.     (this,ev);
  938. }
  939.  
  940. /* method: GetDrawingMode */
  941. HIDrawingMode   GetDrawingMode(Environment *ev)
  942. {
  943.    return SOM_ResolveD(this,HIScrollingPanel,HIObject,GetDrawingMode)
  944.     (this,ev);
  945. }
  946.  
  947. /* method: SetDrawingMode */
  948. void   SetDrawingMode(Environment *ev,
  949.         HIDrawingMode drawingMode)
  950. {
  951.    SOM_ResolveD(this,HIScrollingPanel,HIObject,SetDrawingMode)
  952.     (this,ev,drawingMode);
  953. }
  954.  
  955. /* method: SetBackgroundPattern */
  956. void   SetBackgroundPattern(Environment *ev,
  957.         PixPatHandle backgroundPattern)
  958. {
  959.    SOM_ResolveD(this,HIScrollingPanel,HIObject,SetBackgroundPattern)
  960.     (this,ev,backgroundPattern);
  961. }
  962.  
  963. /* method: GetBackgroundPattern */
  964. PixPatHandle   GetBackgroundPattern(Environment *ev)
  965. {
  966.    return SOM_ResolveD(this,HIScrollingPanel,HIObject,GetBackgroundPattern)
  967.     (this,ev);
  968. }
  969.  
  970. /* method: Cut */
  971. void   Cut(Environment *ev)
  972. {
  973.    SOM_ResolveD(this,HIScrollingPanel,HIObject,Cut)
  974.     (this,ev);
  975. }
  976.  
  977. /* method: Copy */
  978. void   Copy(Environment *ev)
  979. {
  980.    SOM_ResolveD(this,HIScrollingPanel,HIObject,Copy)
  981.     (this,ev);
  982. }
  983.  
  984. /* method: Paste */
  985. void   Paste(Environment *ev)
  986. {
  987.    SOM_ResolveD(this,HIScrollingPanel,HIObject,Paste)
  988.     (this,ev);
  989. }
  990.  
  991. /* method: Clear */
  992. void   Clear(Environment *ev)
  993. {
  994.    SOM_ResolveD(this,HIScrollingPanel,HIObject,Clear)
  995.     (this,ev);
  996. }
  997.  
  998. /* method: GetClipboardSupportFlags */
  999. HIClipboardSupportFlags   GetClipboardSupportFlags(Environment *ev)
  1000. {
  1001.    return SOM_ResolveD(this,HIScrollingPanel,HIObject,GetClipboardSupportFlags)
  1002.     (this,ev);
  1003. }
  1004.  
  1005. /* method: AddStateChangeCallback */
  1006. OSStatus   AddStateChangeCallback(Environment *ev,
  1007.         HIStateChangeCallbackProcPtr changedStateCallback,
  1008.         HIStateChangeCallbackRef* newCallbackRef)
  1009. {
  1010.    return SOM_ResolveD(this,HIScrollingPanel,HIObject,AddStateChangeCallback)
  1011.     (this,ev,changedStateCallback,newCallbackRef);
  1012. }
  1013.  
  1014. /* method: RemoveStateChangeCallback */
  1015. OSStatus   RemoveStateChangeCallback(Environment *ev,
  1016.         HIStateChangeCallbackRef callbackRefToRemove)
  1017. {
  1018.    return SOM_ResolveD(this,HIScrollingPanel,HIObject,RemoveStateChangeCallback)
  1019.     (this,ev,callbackRefToRemove);
  1020. }
  1021.  
  1022. /* noself procedure: GetHIObjectFromRefLabel */
  1023. static OSStatus   GetHIObjectFromRefLabel(Environment *ev,
  1024.         RefLabel* identifier,
  1025.         ItemCount requestedObjects,
  1026.         ItemCount* totalObjects,
  1027.         HIObject** theObjects)
  1028. {
  1029. return ((somTD_HIScrollingPanel_GetHIObjectFromRefLabel)HIObjectClassData.GetHIObjectFromRefLabel)
  1030.     (ev,identifier,requestedObjects,totalObjects,theObjects);
  1031. }
  1032.  
  1033. /* noself procedure: GetNewHIObject */
  1034. static OSStatus   GetNewHIObject(Environment *ev,
  1035.         AESubDesc* objectInitializer,
  1036.         HIObject** newObject)
  1037. {
  1038. return ((somTD_HIScrollingPanel_GetNewHIObject)HIObjectClassData.GetNewHIObject)
  1039.     (ev,objectInitializer,newObject);
  1040. }
  1041.  
  1042. /* noself procedure: GetNewHIObjectFromResource */
  1043. static OSStatus   GetNewHIObjectFromResource(Environment *ev,
  1044.         ResID objectInitializerResourceID,
  1045.         HIObject** newObject)
  1046. {
  1047. return ((somTD_HIScrollingPanel_GetNewHIObjectFromResource)HIObjectClassData.GetNewHIObjectFromResource)
  1048.     (ev,objectInitializerResourceID,newObject);
  1049. }
  1050.  
  1051. /* method: DrawContent */
  1052. void   DrawContent(Environment *ev,
  1053.         CGrafPtr whichPort,
  1054.         RgnHandle drawRgn)
  1055. {
  1056.    SOM_ResolveD(this,HIScrollingPanel,HIObject,DrawContent)
  1057.     (this,ev,whichPort,drawRgn);
  1058. }
  1059.  
  1060. /* method: EraseContent */
  1061. void   EraseContent(Environment *ev,
  1062.         CGrafPtr whichPort,
  1063.         RgnHandle regionToErase)
  1064. {
  1065.    SOM_ResolveD(this,HIScrollingPanel,HIObject,EraseContent)
  1066.     (this,ev,whichPort,regionToErase);
  1067. }
  1068.  
  1069. /* method: TranslatePoint */
  1070. void   TranslatePoint(Environment *ev,
  1071.         HICoordinateSystem translateFrom,
  1072.         HICoordinateSystem translateTo,
  1073.         Point* sourcePoint,
  1074.         Point* translatedPoint)
  1075. {
  1076.    SOM_ResolveD(this,HIScrollingPanel,HIObject,TranslatePoint)
  1077.     (this,ev,translateFrom,translateTo,sourcePoint,translatedPoint);
  1078. }
  1079.  
  1080. /* method: TranslateRect */
  1081. void   TranslateRect(Environment *ev,
  1082.         HICoordinateSystem translateFrom,
  1083.         HICoordinateSystem translateTo,
  1084.         Rect* sourceRect,
  1085.         Rect* translatedRect)
  1086. {
  1087.    SOM_ResolveD(this,HIScrollingPanel,HIObject,TranslateRect)
  1088.     (this,ev,translateFrom,translateTo,sourceRect,translatedRect);
  1089. }
  1090.  
  1091. /* method: StateChanged */
  1092. void   StateChanged(Environment *ev,
  1093.         HIStateChangeCodeCreator selectorCreator,
  1094.         HIStateChangeCode changedCode)
  1095. {
  1096.    SOM_ResolveD(this,HIScrollingPanel,HIObject,StateChanged)
  1097.     (this,ev,selectorCreator,changedCode);
  1098. }
  1099.  
  1100. /* method: SetClipboardSupportFlags */
  1101. void   SetClipboardSupportFlags(Environment *ev,
  1102.         HIClipboardSupportFlags flags)
  1103. {
  1104.    SOM_ResolveD(this,HIScrollingPanel,HIObject,SetClipboardSupportFlags)
  1105.     (this,ev,flags);
  1106. }
  1107.  
  1108. /* method: Verify */
  1109. OSStatus   Verify(Environment *ev)
  1110. {
  1111.    return SOM_ResolveD(this,HIScrollingPanel,HIObject,Verify)
  1112.     (this,ev);
  1113. }
  1114.  
  1115. /* method: somInit */
  1116. void   somInit()
  1117. {
  1118.    SOM_ResolveD(this,HIScrollingPanel,SOMObject,somInit)
  1119.     (this);
  1120. }
  1121.  
  1122. /* method: somUninit */
  1123. void   somUninit()
  1124. {
  1125.    SOM_ResolveD(this,HIScrollingPanel,SOMObject,somUninit)
  1126.     (this);
  1127. }
  1128.  
  1129. /* method: somDuplicateReference */
  1130. SOMObject*   somDuplicateReference()
  1131. {
  1132.    return SOM_ResolveD(this,HIScrollingPanel,SOMObject,somDuplicateReference)
  1133.     (this);
  1134. }
  1135.  
  1136. /* method: somCompareReference */
  1137. boolean   somCompareReference(SOMObject* anObject)
  1138. {
  1139.    return SOM_ResolveD(this,HIScrollingPanel,SOMObject,somCompareReference)
  1140.     (this,anObject);
  1141. }
  1142.  
  1143. /* method: somRelease */
  1144. SOMObject*   somRelease()
  1145. {
  1146.    return SOM_ResolveD(this,HIScrollingPanel,SOMObject,somRelease)
  1147.     (this);
  1148. }
  1149.  
  1150. /* method: somFree */
  1151. void   somFree()
  1152. {
  1153.    SOM_ResolveD(this,HIScrollingPanel,SOMObject,somFree)
  1154.     (this);
  1155. }
  1156.  
  1157. /* method: somCanDelete */
  1158. boolean   somCanDelete()
  1159. {
  1160.    return SOM_ResolveD(this,HIScrollingPanel,SOMObject,somCanDelete)
  1161.     (this);
  1162. }
  1163.  
  1164. /* method: somGetClass */
  1165. SOMClass*   somGetClass()
  1166. {
  1167.    return SOM_ResolveD(this,HIScrollingPanel,SOMObject,somGetClass)
  1168.     (this);
  1169. }
  1170.  
  1171. /* method: somGetClassName */
  1172. corbastring   somGetClassName()
  1173. {
  1174.    return SOM_ResolveD(this,HIScrollingPanel,SOMObject,somGetClassName)
  1175.     (this);
  1176. }
  1177.  
  1178. /* method: somGetSize */
  1179. long   somGetSize()
  1180. {
  1181.    return SOM_ResolveD(this,HIScrollingPanel,SOMObject,somGetSize)
  1182.     (this);
  1183. }
  1184.  
  1185. /* method: somIsA */
  1186. boolean   somIsA(SOMClass* aClassObj)
  1187. {
  1188.    return SOM_ResolveD(this,HIScrollingPanel,SOMObject,somIsA)
  1189.     (this,aClassObj);
  1190. }
  1191.  
  1192. /* method: somRespondsTo */
  1193. boolean   somRespondsTo(somId mId)
  1194. {
  1195.    return SOM_ResolveD(this,HIScrollingPanel,SOMObject,somRespondsTo)
  1196.     (this,mId);
  1197. }
  1198.  
  1199. /* method: somIsInstanceOf */
  1200. boolean   somIsInstanceOf(SOMClass* aClassObj)
  1201. {
  1202.    return SOM_ResolveD(this,HIScrollingPanel,SOMObject,somIsInstanceOf)
  1203.     (this,aClassObj);
  1204. }
  1205.  
  1206. /* va_list method: somDispatch */
  1207. /* the va_list invocation form */
  1208. boolean   HIScrollingPanel_somDispatch(somToken* retValue,
  1209.         somId methodId,
  1210.         va_list ap)
  1211. {
  1212.    return SOM_ResolveD(this,HIScrollingPanel,SOMObject,somDispatch)
  1213.     (this,retValue,methodId,ap);
  1214. }
  1215.  
  1216. /* the varargs invocation form */
  1217. boolean   somDispatch(somToken* retValue,
  1218.         somId methodId,
  1219.         ...)
  1220. {
  1221.    va_list ap;
  1222.    va_start(ap, methodId);
  1223.       boolean __somResult = 
  1224.       (boolean) SOM_ResolveD(this,HIScrollingPanel,SOMObject,somDispatch)
  1225.     (this,retValue,methodId,ap);
  1226.    va_end(ap);
  1227.    return __somResult;
  1228. }
  1229.  
  1230. /* va_list method: somClassDispatch */
  1231. /* the va_list invocation form */
  1232. boolean   HIScrollingPanel_somClassDispatch(SOMClass* clsObj,
  1233.         somToken* retValue,
  1234.         somId methodId,
  1235.         va_list ap)
  1236. {
  1237.    return SOM_ResolveD(this,HIScrollingPanel,SOMObject,somClassDispatch)
  1238.     (this,clsObj,retValue,methodId,ap);
  1239. }
  1240.  
  1241. /* the varargs invocation form */
  1242. boolean   somClassDispatch(SOMClass* clsObj,
  1243.         somToken* retValue,
  1244.         somId methodId,
  1245.         ...)
  1246. {
  1247.    va_list ap;
  1248.    va_start(ap, methodId);
  1249.       boolean __somResult = 
  1250.       (boolean) SOM_ResolveD(this,HIScrollingPanel,SOMObject,somClassDispatch)
  1251.     (this,clsObj,retValue,methodId,ap);
  1252.    va_end(ap);
  1253.    return __somResult;
  1254. }
  1255.  
  1256. /* method: somCastObj */
  1257. boolean   somCastObj(SOMClass* cls)
  1258. {
  1259.    return SOM_ResolveD(this,HIScrollingPanel,SOMObject,somCastObj)
  1260.     (this,cls);
  1261. }
  1262.  
  1263. /* method: somResetObj */
  1264. boolean   somResetObj()
  1265. {
  1266.    return SOM_ResolveD(this,HIScrollingPanel,SOMObject,somResetObj)
  1267.     (this);
  1268. }
  1269.  
  1270. /* method: somPrintSelf */
  1271. SOMObject*   somPrintSelf()
  1272. {
  1273.    return SOM_ResolveD(this,HIScrollingPanel,SOMObject,somPrintSelf)
  1274.     (this);
  1275. }
  1276.  
  1277. /* method: somDumpSelf */
  1278. void   somDumpSelf(long level)
  1279. {
  1280.    SOM_ResolveD(this,HIScrollingPanel,SOMObject,somDumpSelf)
  1281.     (this,level);
  1282. }
  1283.  
  1284. /* method: somDumpSelfInt */
  1285. void   somDumpSelfInt(long level)
  1286. {
  1287.    SOM_ResolveD(this,HIScrollingPanel,SOMObject,somDumpSelfInt)
  1288.     (this,level);
  1289. }
  1290.  
  1291. };   /* HIScrollingPanel */
  1292.  
  1293.  
  1294.  
  1295. #endif       /* SOM_HIScrollingPanel_xh */
  1296.